import loginTpl from './entry.view.html';
import loginCtrl from './entry.controller';

export default ($stateProvider, $urlRouterProvider) => {
    "ngInject"
    $urlRouterProvider.otherwise('/login');
    $stateProvider
        .state('login', {
            url         : '/login',
            views: {
                "login" : {
                    templateUrl : loginTpl,
                    controller  : loginCtrl,
                    controllerAs: "vm"
                }
            }
        })
}